package com.bo.ioc.v1;

public class Car {
    private Framework framework;
    // 汽车申请车身时,需要告知轮胎大小
    public Car(int tireSize){
        this.framework = new Framework(tireSize);
        System.out.println("汽车get");
    }
    // 汽车申请车身时,需要告知轮胎大小+车身颜色
    public Car(int tireSize,String color){
        this.framework = new Framework(tireSize,color);
        System.out.println("汽车get");
    }
}
